package com.dlyk.mapper;

import com.dlyk.model.TClue;
import com.dlyk.model.TCustomer;
import com.dlyk.query.BaseQuery;
import com.dlyk.query.CustomerQuery;
import com.dlyk.result.TimeValue;

import java.util.List;

public interface TCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TCustomer record);

    int insertSelective(TCustomer record);

    TCustomer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TCustomer record);

    int updateByPrimaryKey(TCustomer record);

    List<TCustomer> selectCustomerByPage(CustomerQuery customerQuery);

    List<TCustomer> selectCustomerByExcel(List<String> list);

    Integer selectByCount();

    List<TimeValue> selectCustomerByDay();
}